import { request } from "@/utils/request.ts";

export const login = (data: any) => {
  // 调用接口
  return request.post<{
    token: string;
    expire: string;
    refreshToken: string;
    refreshExpire: string;
  }>("/admin/base/open/login", data);
};
